package com.jindy.module.assistmaterials.mapper;

import java.util.List;
import com.jindy.module.assistmaterials.domain.AssistMaterials;

/**
 * fucaishengchengMapper接口
 * 
 * @author jindy
 * @date 2023-02-16
 */
public interface AssistMaterialsMapper 
{
    /**
     * 查询fucaishengcheng
     * 
     * @param id fucaishengcheng主键
     * @return fucaishengcheng
     */
    public AssistMaterials selectAssistMaterialsById(Long id);

    /**
     * 查询fucaishengcheng列表
     * 
     * @param assistMaterials fucaishengcheng
     * @return fucaishengcheng集合
     */
    public List<AssistMaterials> selectAssistMaterialsList(AssistMaterials assistMaterials);

    /**
     * 新增fucaishengcheng
     * 
     * @param assistMaterials fucaishengcheng
     * @return 结果
     */
    public int insertAssistMaterials(AssistMaterials assistMaterials);
    //public int insertAssistMaterials(List<AssistMaterials> assistMaterials);

    /**
     * 修改fucaishengcheng
     * 
     * @param assistMaterials fucaishengcheng
     * @return 结果
     */
    public int updateAssistMaterials(AssistMaterials assistMaterials);


    /**
     * 根据维修记录编号删除辅材表数据
     *
     * @param repairRecordId
     * @return 结果
     */
    public int deleteAssistMaterialsByRepairRecordId(Long repairRecordId);


    /**
     * 删除fucaishengcheng
     * 
     * @param id fucaishengcheng主键
     * @return 结果
     */
    public int deleteAssistMaterialsById(Long id);

    /**
     * 批量删除fucaishengcheng
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAssistMaterialsByIds(Long[] ids);
}
